home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- NewMode = FGbestmode(320,200,2)
- IF NewMode < 0 OR NewMode = 12 THEN
- PRINT "This program requires a 320 x 200 color graphics mode."
- STOP
- END IF
- OldMode = FGgetmode
- FGsetmode NewMode
-
- FGsetcolor 7
- FGrect 0, 319, 0, 199
- FGsetcolor 9
- FGlocate 12, 18
- FGtext "test", 4
- FGwaitkey
-
- Status = FGallocate(1)
- FGcopypage 0, 1
- FGerase
- FGwaitkey
-
- FGcopypage 1, 0
- FGwaitkey
-
- Status = FGfreepage(1)
- FGsetmode OldMode
- FGreset
-
- END